Skip to content

Conversation

@camillobruni
Copy link
Contributor

Function.toString is not necessarily returning the full function body per spec.
We can inject the sources with the preload mechanism which is well defined and more flexible.

@netlify
Copy link

netlify bot commented Oct 27, 2025

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit 3800e92
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/690370aa21e91100084530f2
😎 Deploy Preview https://deploy-preview-228--webkit-jetstream-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

jsTokensSourceCode = "";

async init() {
this.jsTokensSourceCode = await JetStream.getString(JetStream.preload.SOURCE_CODE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we eval or dynamically import this rather than have two copies of the source?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants